package com.bbm.bbmanage.entity;

import java.util.Date;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (HouseOrder)表实体类
 *
 * @author lionkliu
 * @since 2024-04-17 14:14:44
 */
@SuppressWarnings("serial")
@Data
@Accessors(chain = true)
@TableName("house_order")
public class HouseOrder implements Serializable{
    
    @TableId
    private Integer id;

    private String subject;
    
    private String tradeStatus;

    private String tradePlatform;
    
    private String tradeNo;

    private Integer userId;
    
    private Long outTradeNo;
    
    private String totalAmount;
    
    private Long buyerId;
    
    private String gmtPayment;
    
    private String buyerPayAmount;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    
    private Integer delFlag;

}
